<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=0,minimum-scale=1.0,maximum-scale=1.0" />
    <title>修改密码</title>
    <!-- 动态rem解决方案 -->
    <script>
        var width = document.documentElement.clientWidth;
        var scale = width / 375;
        var css = 'html{font-size:' +
            37.5  * scale +
            'px;}';
        document.write('<style>' + css + '</style>')
    </script>
        <script src="https://cdn.bootcss.com/fastclick/1.0.6/fastclick.js"></script>
</head>
<body>
<div id="app">
    <div class="page">
        <h1 class='page-title'>
            修改密码
        </h1>
        <form id="modify_password">
            <div class="weui_cells weui_cells_form">

                <div class="weui_cell">
                    <div class="weui_cell_hd"><label class="weui_label">旧密码</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        <input class="weui_input" type="password" pattern="[0-9]*"  id="oldPassword" name="oldPassword" placeholder="请输入旧密码">
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label class="weui_label">新密码</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        <input class="weui_input" type="password" pattern="[0-9]*" id="newPassword" name="newPassword" placeholder="设置6-20位密码">
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label class="weui_label">确定密码</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        <input class="weui_input" type="password" pattern="[0-9]*" id="surePassword" name="surePassword" placeholder="设置6-20位密码">
                    </div>
                </div>
            </div>
        </form>
        <div class="sure_modify">
            <a href="#" class="weui_btn">确定修改</a>
        </div>
    </div>

</div>
</body>
</html>